package com.bwhx.eruler.service.casdilly.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.casdilly.AlertRuler;
import com.bwhx.eruler.dao.casdilly.AlertRulerDAO;
import com.bwhx.eruler.service.casdilly.AlertRulerService;
@Service
public class AlertRulerServiceImpl implements AlertRulerService{
	
	
	@Autowired
	AlertRulerDAO alertRulerDAO;
	public List<AlertRuler> list() {
		return alertRulerDAO.list();
	}
	@Override
	public List<AlertRuler> list(Page entity) {
		return alertRulerDAO.list(entity);
	}
	@Override
	public Integer count(AlertRuler entity) {
		return alertRulerDAO.count(entity);
	}
	@Override
	public void insert(AlertRuler entity) {
		alertRulerDAO.insert(entity);
		
	}
	@Override
	public void update(AlertRuler entity) {
		alertRulerDAO.update(entity);
		
	}
	@Override
	public void delete(AlertRuler entity) {
		alertRulerDAO.delete(entity);
		
	}

}
